package pacman;

import java.io.File;
import java.io.IOException;

import pacman.protocol.CommandParser;

import maze.Coordinate;
import maze.Maze;

public class GameInformation {
	
	public Maze maze;
	
	public Coordinate [] playerCoordinates;
	
	public Coordinate pacmanCoordinate;
	
	public GameInformation(File file) throws NumberFormatException, IOException {
		this.maze = CommandParser.getMaze(file);
		this.pacmanCoordinate = CommandParser.givePacmanPosition(file);
		this.playerCoordinates = CommandParser.givePlayersPositions(file, 0);
		CommandParser.addBarcodes(file, maze);
	}
	
}
